package com.qf.zhijia.service;

import com.qf.zhijia.pojo.Address;

import java.util.List;

/**
 * @author Canaan
 * @version V1.0
 * @data 2020/09/05
 **/
public interface AddressService {
    List<Address> findAddressByUId(int uId);  //根据uid查询所有地址

    public void AddAddress(Address address);  //插入地址

    public void deleteAddressByAid(String aId);  //删除地址

    public void setAddressToDefault(String aId,int uId);  //设置默认地址

    public void updateByAid(Address address);  //更新地址
}
